$def with (repoPath, repoInfo, fileKind)

$if repoInfo:
    <h2>Repository Browser</h2>
    <p>Attempting to load the repository at <a href="$repoPath">$repoPath</a></p>
    <ul>
    $for node in repoInfo:
            <li>
        $if node['kind'] == fileKind:
                <a href="$node['name']">$node['name'].replace(repoPath + '/', '')</a> $node['size'] bytes
        $else:
                <strong><a href="$node['name']">$node['name'].replace(repoPath + '/', '')</a></strong>
            </li>
    </ul>
$else:
    <strong>Error: </strong><em>Problem accessing the repository directory information</em>